<%
	//Description: money booker configuration page
	//CreateTime: 2006-07-31
	//Author: chenshangxuan
%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
	<probiz:pageHeading pageHeading="Money Bookers Payment Gateway Configuration" />
	<script type="text/javascript">
	function loadData(){
		var currency=document.getElementById("currency");
		var language=document.getElementById("language");
		for(var i=0;i<currency.options.length;i++){
			if(currency.options[i].value=="${paymentGateway.configData.currency}"){
				currency.options[i].selected=true;
				break;
			}
		}
		for(var j=0;j<language.options.length;j++){
			if(language.options[j].value=="${paymentGateway.configData.language}"){
				language.options[j].selected=true;
				break;	
			}
		}
	}
	</script>
</head>
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<body onload="loadData()">

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span>Money Bookers Gateway Configuration</span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" method="post" action="paymentMethod.html">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.en.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="moneybookers" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li>Please Regiseter a merchant account from <a href="http://www.moneybookers.com" target="_blank" style="color:red;text-decoration: underline">Money Bookers</a></li>
						<li>Fill the information below</li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.en.configItem"/></h4></th>
			</tr>
			<tr>
				<th class="label_width_1"><span>Pay to email:</span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="payToEmail" value="${paymentGateway.configData.payToEmail}"/>
				</td>
			</tr>
			<tr> 
				<th><span>Currency:</span></th>
				<td>
					<select id="currency" name="currency" style="width:200px" class="selecttxt">
						<option value="AUD">Australian Dollar</option>
						<option value="BGN">Bulgarian Lev</option>
						<option value="CAD">Canadian Dollar</option>
						<option value="CHF">Swiss Franc</option>
						<option value="CZK">Czech Koruna</option>
						<option value="DKK">Danish Krone</option>
						<option value="EEK">Estonian Koruna</option>
						<option value="EUR">Euro</option>
						<option value="GBP">Pound Sterling</option>
						<option value="HKD">Hong Kong Dollar</option>
						<option value="HUF">Forint</option>
						<option value="ILS">Shekel</option>
						<option value="ISK">Iceland Krona</option>
						<option value="JPY">Yen</option>
						<option value="KRW">South-Korean Won</option>
						<option value="LVL">Latvian Lat</option>
						<option value="MYR">Malaysian Ringgit</option>
						<option value="NOK">Norwegian Krone</option>
						<option value="NZD">New Zealand Dollar</option>
						<option value="PLN">Zloty</option>
						<option value="SEK">Swedish Krona</option>
						<option value="SGD">Singapore Dollar</option>
						<option value="SKK">Slovak Koruna</option>
						<option value="THB">Baht</option>
						<option value="TWD">New Taiwan Dollar</option>
						<option value="USD">US Dollar</option>
						<option value="ZAR">South-African Rand</option>
						<option value="AFA">Afghani</option>
					</select>
				</td>
			</tr>
			<tr> 
				<th><span>Language:</span></th>
				<td>
					<select name="language" id="language" class="selecttxt" style="width:200px">
					 <option value="EN">EN</option>
					 <option value="DE">DE</option>
					 <option value="ES">ES</option>
					 <option value="FR">FR</option>
					</select>
				</td>
			</tr>
	
			<tr> 
				<th><span>Order Prefix:</span></th>
				<td>
					<input type="text" name="orderpre" value="${paymentGateway.configData.orderpre}" class="inputtxt" style="width: 350px">
				</td>
			</tr> 
		</table>
	</form>
</div>
</body>
</html>